/**
 * 
 */
package com.zc.spring.javabean;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author ZhangCheng
 * @time 2019年10月31日
 */
public class Zoo {
	@Autowired
	private Tiger tiger;
	@Autowired
	private Monkey monkey;

	
	public Tiger getTiger() {
		return tiger;
	}


	public void setTiger(Tiger tiger) {
		this.tiger = tiger;
	}


	public Monkey getMonkey() {
		return monkey;
	}


	public void setMonkey(Monkey monkey) {
		this.monkey = monkey;
	}


	@Override
	public String toString() {
		return "Zoo [tiger=" + tiger + ", monkey=" + monkey + "]";
	}

}
